package org.example.service;

import org.example.pojo.Doctor.Doctor;
import org.example.pojo.Doctor.Schedule;
import org.example.pojo.DoctorUser;
import org.example.pojo.Patient.PatientUser;
import org.example.pojo.User;

import java.util.Date;
import java.util.List;

public interface AdminUserService {
    List<PatientUser> getAllPatients();
    List<DoctorUser> getAllDoctors();
    PatientUser getPatientById(Integer id);
    Doctor getDoctorById(Integer doctorId);
    void updatePatient(PatientUser patient);
    DoctorUser updateDoctor(DoctorUser doctor);
    void deletePatient(Integer id);
    void deleteDoctor(Integer id);
    //获取医生排班信息
    List<Schedule> getDoctorSchedule(Date scheduleDate,Integer clinicId);
    //添加医生排班信息
    void addDoctorSchedule(Schedule schedule);
    //删除医生排班信息
    void deleteDoctorSchedule(Integer scheduleId);
    //更新医生排班信息
    void updateDoctorSchedule(Schedule schedule);
    //获取所有排班信息
    List<Schedule> getDoctorScheduleNull();
    //通过日期查看看排班信息
    List<Schedule> getDoctorScheduleByDate(String scheduleDate);
    //通过科室id查看看排班信息
    List<Schedule> getDoctorScheduleById(Integer clinicId);

}